package com.lyncs.ods.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.lyncs.ods.modules.setting.model.PaymentAttr;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author alex
 * @date 2022/5/4 16:25
 * @description
 */
@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class PaymentSettingResp {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("公司ID")
    private Long companyId;

    @ApiModelProperty("收款方式ID")
    private Long paymentId;

    @ApiModelProperty("收款方式名称")
    private String name;

    @ApiModelProperty("收款方式code")
    private String code;

    @ApiModelProperty("收款方式logo")
    private String logo;

    @ApiModelProperty("收款方式配置属性")
    private List<PaymentAttr> attrInfos;

    @ApiModelProperty("状态：1.可用；2.禁用")
    @TableField("status")
    private Integer status;
}
